package cn.yitun.chat.yitunservercommonlib.enums.control.push.file;

import cn.yitun.chat.yitunservercommonlib.constant.ActionTypeConstant;

/**
 * 文件消息推送
 * @author yitun
 * @date 2020-06-21
 */
public enum FilePushMethodEnum {

    GET_OPPOSITE_FILE_ACCEPT("1.2.0004",  "获取对方接收文件信息", ActionTypeConstant.FILE_ACTION_PUSH),
    RETURN_FILE_ACCEPT("1.2.0005",  "返回文件接收信息", ActionTypeConstant.FILE_ACTION_PUSH),
    SEND_OFFLINE_FILE("1.2.0006",  "发送离线文件", ActionTypeConstant.FILE_ACTION_PUSH),
    RESPONSE("1.2.0007",  "响应", ActionTypeConstant.FILE_ACTION_PUSH),
    CANCEL("1.2.0008",  "拒绝", ActionTypeConstant.FILE_ACTION_PUSH),
    ;




    private String method;

    private String action;

    private String name;

    FilePushMethodEnum(String method , String msgString, String action) {
        this.method = method;
        this.name = msgString;
        this.action = action;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
